﻿
namespace SpiderMaster.AspNet.TradingSystem
{
    public partial class ImageManager
    {
        /// <summary> Combines the Default Image directory with the directory of the Image Type.
        /// </summary>
        /// <param name="ImageType">Type of the image.</param>
        /// <returns></returns>
        public static string GetImageServerDirectory(ImageType ImageType)
        {
            return LinkManager.AppendUrl(VirtualDirectory.SystemImage).Replace("~/", string.Empty).Add(ImageType.ToString());
        }
    }
}